package com.sjgl.esdn.service.impl;

import com.sjgl.esdn.domain.entity.Boxroom;
import com.sjgl.esdn.domain.entity.Label;
import com.sjgl.esdn.mapper.BoxroomMapper;
import com.sjgl.esdn.mapper.FileMapper;
import com.sjgl.esdn.mapper.LabelMapper;
import com.sjgl.esdn.service.BoxroomService;
import com.sjgl.esdn.service.LabelService;
import com.sjgl.esdn.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * 标签服务实现
 *
 * @author 缪恒铭
 * @date 2022/10/17
 */
@Service
public class LabelServiceImpl implements LabelService {
    @Autowired
    LabelMapper labelMapper;

    @Override
    public int insertLabel(Label label) {
        return labelMapper.insertLabel(label);
    }

    @Override
    public List<Label> getLabelList() {
        return labelMapper.getLabelList();
    }
}
